[target.armv7-unknown-linux-gnueabihf]
pre-build = [
    "dpkg --add-architecture $CROSS_DEB_ARCH",
    "ln -fs /usr/share/zoneinfo/Europe/Moscow /etc/localtime",
    "DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install --assume-yes libzstd1:$CROSS_DEB_ARCH zlib1g-dev zlib1g-dev:$CROSS_DEB_ARCH libssl-dev  cmake g++ zlibc  zlib1g zlib1g:$CROSS_DEB_ARCH libsasl2-dev libssl-dev:$CROSS_DEB_ARCH librdkafka1:$CROSS_DEB_ARCH libsasl2-2:$CROSS_DEB_ARCH",
    "dpkg-reconfigure --frontend noninteractive tzdata",
#    "sleep 5d"
]
passthrough = [
    "ZLIB_LIBRARY=/usr/local/zlib/lib",
    "ZLIB_INCLUDE_DIR=/urs/local/zlib/include",
"CMAKE_PREFIX_PATH_armv7_unknown_linux_gnueabihf=/usr/local/zlib"]
[target.armv7-unknown-linux-gnueabihf.env]
passthrough = [
    "ZLIB_LIBRARY=/usr/local/zlib/lib",
    "ZLIB_INCLUDE_DIR=/urs/local/zlib/include",
"CMAKE_PREFIX_PATH_armv7_unknown_linux_gnueabihf=/usr/local/zlib"]